package com.cicoding.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Data
@ConfigurationProperties(prefix = "zebra-uhf")
public class ZebraUHFProperties {

    private List<ZebraUHF> configs;
    @Data
    public static class ZebraUHF {
        private String IP;
        private String antArray;
        private Integer portNum;
    }
}
